﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Item.Master" AutoEventWireup="true" ValidateRequest="false"
    CodeBehind="HelpItem.aspx.cs" Inherits="SGDemo.Permission.HelpItem" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cpHeader" runat="server">
    <script src="HelpItem.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cpBody" runat="server">
    <div class="ui-menu">
        <uc:Menu ID="menu1" runat="server" DataFile="../Views/Permission/Menu/HelpItem.xml"
            PageCode="HelpItem" />
    </div>
    <div class="ui-wrapper">
        <div class="ui-hidden">
            <dx:ASPxLabel ID="lblKeyid" ClientInstanceName="lblKeyid" runat="server" />
            <dx:ASPxLabel ID="lblHelpCategoryKeyid" ClientInstanceName="lblHelpCategoryKeyid"
                runat="server" />
        </div>
        <ul class="ui-list">
            <li style="text-align: right">
                <dx:ASPxHyperLink ID="lblHelpCategoryCode" ClientInstanceName="lblHelpCategoryCode"
                    Cursor="pointer" Text="选择类别" Font-Underline="true" runat="server">
                    <ClientSideEvents Click="lblClick" />
                </dx:ASPxHyperLink>
                ：</li>
            <li>
                <dx:ASPxTextBox ID="txtHelpCategoryName" ClientInstanceName="txtHelpCategoryName"
                    runat="server" Width="120px" ReadOnly="true">
                    <ValidationSettings>
                        <RequiredField IsRequired="True" ErrorText="类别必须选择" />
                    </ValidationSettings>
                </dx:ASPxTextBox>
            </li>
            <li></li>
            <li></li>
        </ul>
        <ul class="ui-list">
            <li>
                <dx:ASPxLabel ID="lblHelpCode" runat="server" Text="编码：" ForeColor="Red" AssociatedControlID="txtHelpCode" />
            </li>
            <li>
                <dx:ASPxTextBox ID="txtHelpCode" ClientInstanceName="txtHelpCode" runat="server"
                    Width="120px">
                    <ValidationSettings>
                        <RequiredField IsRequired="True" ErrorText="编码必须填写" />
                    </ValidationSettings>
                </dx:ASPxTextBox>
            </li>
            <li>
                <dx:ASPxLabel ID="Orderd" runat="server" Text="排序：" />
            </li>
            <li>
                <dx:ASPxSpinEdit ID="seOrder" ClientInstanceName="seOrder" runat="server" Number="0"
                    MaxLength="11" Width="120">
                    <SpinButtons ShowIncrementButtons="False" ShowLargeIncrementButtons="False" />
                </dx:ASPxSpinEdit>
            </li>
        </ul>
        <ul class="ui-list">
            <li>
                <dx:ASPxLabel ID="lblTitle" runat="server" Text="标题：" ForeColor="Red" AssociatedControlID="txtTitle" />
            </li>
            <li>
                <dx:ASPxTextBox ID="txtTitle" ClientInstanceName="txtTitle" runat="server" Width="560px">
                    <ValidationSettings>
                        <RequiredField IsRequired="True" ErrorText="标题必须填写" />
                    </ValidationSettings>
                </dx:ASPxTextBox>
            </li>
        </ul>
        <ul class="ui-list">
            <li>
                <dx:ASPxLabel ID="Remark" runat="server" Text="备注：" AssociatedControlID="txtRemark" />
            </li>
            <li>
                <dx:ASPxTextBox ID="txtRemark" ClientInstanceName="txtRemark" runat="server" Width="560px">
                </dx:ASPxTextBox>
            </li>
        </ul>
        <ul class="ui-list">
            <li>
                <dx:ASPxLabel ID="lblhtBody" runat="server" Text="内容：" AssociatedControlID="txtBody" />
            </li>
            <li>
                <div>
                    <dx:ASPxHtmlEditor ID="txtBody" ClientInstanceName="txtBody" runat="server" Height="600px"
                        Width="680px">
                        <SettingsImageUpload UploadImageFolder="~/UploadImage/Help">
                            <ValidationSettings AllowedFileExtensions=".jpe,.jpeg,.jpg,.gif,.png" MaxFileSize="500000000">
                            </ValidationSettings>
                        </SettingsImageUpload>
                    </dx:ASPxHtmlEditor>
                </div>
            </li>
        </ul>
        <ul class="ui-list">
        </ul>
        <div class="vsMsgContainer">
            <dx:ASPxValidationSummary ID="vsValidationSummary1" runat="server" RenderMode="OrderedList"
                Width="260px" ClientInstanceName="validationSummary" ShowErrorsInEditors="false"
                CssClass="vsMsg" ShowErrorAsLink="true">
            </dx:ASPxValidationSummary>
        </div>
        <ul class="sl-floatcenter clearfix ui-btn-bottom ui-btn-saveforadd">
            <li class="sl-floatcenter-item">
                <dx:ASPxButton ID="btnSaveToAdd" ClientInstanceName="btnSaveToAdd" runat="server"
                    Text="保 存" AutoPostBack="false">
                    <ClientSideEvents Click="doSaveForAdd" />
                </dx:ASPxButton>
            </li>
            <li class="sl-floatcenter-item">
                <dx:ASPxButton ID="btnSaveAndContinueToAdd" ClientInstanceName="btnSaveAndContinueToAdd"
                    runat="server" Text="保存完继续新增" AutoPostBack="false">
                    <ClientSideEvents Click="doSaveAndContinueToAdd" />
                </dx:ASPxButton>
            </li>
            <li class="sl-floatcenter-item">
                <dx:ASPxButton ID="btnResetForAdd" ClientInstanceName="btnResetForAdd" runat="server"
                    Text="重 置" AutoPostBack="false">
                    <ClientSideEvents Click="doResetForAdd" />
                </dx:ASPxButton>
            </li>
        </ul>
        <ul class="sl-floatcenter clearfix ui-btn-bottom ui-btn-saveforedit">
            <li class="sl-floatcenter-item">
                <dx:ASPxButton ID="btnSaveToEdit" ClientInstanceName="btnSaveToEdit" runat="server"
                    Text="保 存" AutoPostBack="false">
                    <ClientSideEvents Click="doSaveForEdit" />
                </dx:ASPxButton>
            </li>
            <li class="sl-floatcenter-item">
                <dx:ASPxButton ID="btnCancelForEdit" ClientInstanceName="btnCancelForEdit" runat="server"
                    Text="取 消" AutoPostBack="false">
                    <ClientSideEvents Click="doCancelForEdit" />
                </dx:ASPxButton>
            </li>
        </ul>
    </div>
    <div class="ui-state">
        <ul>
            <li>创建人： </li>
            <li>
                <dx:ASPxLabel ID="lblCreateName" ClientInstanceName="lblCreateName" runat="server" />
            </li>
            <li class="ui-state-seperator">| </li>
            <li>创建日期： </li>
            <li>
                <dx:ASPxLabel ID="lblCreateDate" ClientInstanceName="lblCreateDate" runat="server" />
            </li>
            <li class="ui-state-seperator">| </li>
            <li>编辑人： </li>
            <li>
                <dx:ASPxLabel ID="lblModifyName" ClientInstanceName="lblModifyName" runat="server" />
            </li>
            <li class="ui-state-seperator">| </li>
            <li>编辑日期： </li>
            <li>
                <dx:ASPxLabel ID="lblModifyDate" ClientInstanceName="lblModifyDate" runat="server" />
            </li>
        </ul>
    </div>
</asp:Content>
